MsgN("-- mdrp_server.lua loaded")

--files for server to load
include("server/models.lua")		
include("server/processes.lua")
include("server/entities.lua")
include("server/player.lua")
include("server/commands.lua")
include("server/entity.lua")
include("server/hooks.lua")





function IsTouching( pos, class, range )
	for _, ent in pairs( ents.FindInSphere(pos, range) ) do
		local _pos = ent:LocalToWorld(ent:OBBCenter())

		if (ent:GetClass() == class) and ((pos-Vector(_pos.x, _pos.y, pos.z)):Length() <= range) then
			return true
		end
	end

	return false
end